SftTree/OCX 7.0

VirtualItem.RowPictureH Property

Softel vdm, Inc.

Defines the graphic displayed in the item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.Image.PictureH instead

Syntax       

Put

VB.NET

object.RowPictureH = Handle  As Integer

VB

object.RowPictureH = Handle  As OLE_HANDLE

C#.NET

int object.RowPictureH = Handle;

VC++

OLE_HANDLE object->RowPictureH = Handle;
void object->PutRowPictureH(OLE_HANDLE Handle);

C

HRESULT object->put_RowPictureH(OLE_HANDLE Handle);

Delphi

object.RowPictureH := Handle  : Cardinal;

object

A VirtualItem object.

Handle

A bitmap handle.  Defines the graphic displayed as the control's background.  This bitmap handle has to remain valid until the tree control no longer uses it.  The application has to destroy the bitmap handle once it is no longer needed.  The top, left pixel of each graphic must contain the background color.  This color will be replaced by the actual background when the graphic is displayed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.Image.PictureH instead

The RowPictureH property defines the graphic displayed in the item's row header.

The VirtualItem.RowPictureH property is used while handling a VirtualItem event to define the item's row header graphic.  The item is described by the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com